/* JS */ gapi.loaded_1(function(_){var window=this; _.pe=function(a,b){var c;t:{c=a.length;for(var d=_.la(a)?a.split(""):a,e=0;ec?null:_.la(a)?a.charAt(c):a[c]};_.qe=function(a,b){for(var c=a.split("."),d=b||_.r,e;e=c.shift();)if(null!=d[e])d=d[e];else return null;return d};_.re=function(a,b){return 1==_.dd.splice.call(a,b,1).length};_.se=function(a,b){var c=(0,_.ed)(a,b),d;(d=0<=c)&&_.re(a,c);return d}; _.te=function(){this.Zd=this.Zd;this.Sa=this.Sa};_.te.prototype.Zd=!1;_.te.prototype.mb=function(){return this.Zd};_.te.prototype.ia=function(){this.Zd||(this.Zd=!0,this.W())};_.ve=function(a,b){var c=_.ta(_.ue,b);a.Sa||(a.Sa=[]);a.Sa.push(_.ea(void 0)?(0,_.t)(c,void 0):c)};_.te.prototype.W=function(){if(this.Sa)for(;this.Sa.length;)this.Sa.shift()()};_.ue=function(a){a&&"function"==typeof a.ia&&a.ia()}; _.we=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.$g=!1;this.Ly=!0};_.we.prototype.W=function(){};_.we.prototype.ia=function(){};_.we.prototype.stopPropagation=function(){this.$g=!0};_.we.prototype.preventDefault=function(){this.defaultPrevented=!0;this.Ly=!1}; var xe=function(a){xe[" "](a);return a};xe[" "]=_.Dd;var ye=!_.N||_.je(9),Ae=!_.N||_.je(9),Be=_.N&&!_.he("9");!_.Rd||_.he("528");_.Qd&&_.he("1.9b")||_.N&&_.he("8")||_.Pd&&_.he("9.5")||_.Rd&&_.he("528");_.Qd&&!_.he("8")||_.N&&_.he("9");_.Ce=_.N?"focusin":"DOMFocusIn";_.De=_.N?"focusout":"DOMFocusOut";_.Ee=_.Rd?"webkitTransitionEnd":_.Pd?"otransitionend":"transitionend";_.Fe=function(a,b){_.we.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.charCode=this.keyCode=this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.gn=!1;this.A=null;a&&this.$a(a,b)};_.u(_.Fe,_.we);var Ge=[1,4,2]; _.Fe.prototype.$a=function(a,b){var c=this.type=a.type;this.target=a.target||a.srcElement;this.currentTarget=b;var d=a.relatedTarget;if(d){if(_.Qd){var e;t:{try{xe(d.nodeName);e=!0;break t}catch(f){}e=!1}e||(d=null)}}else"mouseover"==c?d=a.fromElement:"mouseout"==c&&(d=a.toElement);this.relatedTarget=d;this.offsetX=_.Rd||void 0!==a.offsetX?a.offsetX:a.layerX;this.offsetY=_.Rd||void 0!==a.offsetY?a.offsetY:a.layerY;this.clientX=void 0!==a.clientX?a.clientX:a.pageX;this.clientY=void 0!==a.clientY?a.clientY: a.pageY;this.screenX=a.screenX||0;this.screenY=a.screenY||0;this.button=a.button;this.keyCode=a.keyCode||0;this.charCode=a.charCode||("keypress"==c?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.gn=_.Td?a.metaKey:a.ctrlKey;this.state=a.state;this.A=a;a.defaultPrevented&&this.preventDefault()};_.He=function(a){return(ye?0==a.A.button:"click"==a.type?!0:!!(a.A.button&Ge[0]))&&!(_.Rd&&_.Td&&a.ctrlKey)}; _.Fe.prototype.stopPropagation=function(){_.Fe.J.stopPropagation.call(this);this.A.stopPropagation?this.A.stopPropagation():this.A.cancelBubble=!0};_.Fe.prototype.preventDefault=function(){_.Fe.J.preventDefault.call(this);var a=this.A;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,Be)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};_.Fe.prototype.oE=function(){return this.A};_.Fe.prototype.W=function(){}; var Ie,Ke;Ie="closure_listenable_"+(1E6*Math.random()|0);_.Je=function(a){return!(!a||!a[Ie])};Ke=0;var Le=function(a,b,c,d,e){this.Wg=a;this.A=null;this.src=b;this.type=c;this.tl=!!d;this.Hc=e;this.key=++Ke;this.Di=this.ql=!1},Me=function(a){a.Di=!0;a.Wg=null;a.A=null;a.src=null;a.Hc=null};var Ne=function(a){this.src=a;this.A={};this.B=0},Pe,Oe;Ne.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.A[f];a||(a=this.A[f]=[],this.B++);var g=Oe(a,b,d,e);-1c.keyCode||void 0!=c.returnValue)){t:{var f=!1;if(0==c.keyCode)try{c.keyCode=-1;break t}catch(g){f=!0}if(f||void 0==c.returnValue)c.returnValue=!0}c=[];for(f=d.currentTarget;f;f=f.parentNode)c.push(f);for(var f=a.type,k=c.length-1;!d.$g&&0<=k;k--){d.currentTarget=c[k];var l=cf(c[k],f,!0,d),e=e&&l}for(k=0;!d.$g&&k>>0);_.Ue=function(a){if(_.Xc(a))return a;a[df]||(a[df]=function(b){return a.handleEvent(b)});return a[df]};_.oe(function(a){Ze=a(Ze)}); _.ef=function(){_.te.call(this);this.Ae=new Ne(this);this.hr=this;this.Yd=null};_.u(_.ef,_.te);_.ef.prototype[Ie]=!0;_.h=_.ef.prototype;_.h.Uh=function(){return this.Yd};_.h.hh=_.q(1);_.h.addEventListener=function(a,b,c,d){_.O(this,a,b,c,d)};_.h.removeEventListener=function(a,b,c,d){_.$e(this,a,b,c,d)}; _.h.dispatchEvent=function(a){var b,c=this.Uh();if(c)for(b=[];c;c=c.Uh())b.push(c);var c=this.hr,d=a.type||a;if(_.la(a))a=new _.we(a,c);else if(a instanceof _.we)a.target=a.target||c;else{var e=a;a=new _.we(d,c);_.Kd(a,e)}var e=!0,f;if(b)for(var g=b.length-1;!a.$g&&0<=g;g--)f=a.currentTarget=b[g],e=ff(f,d,!0,a)&&e;a.$g||(f=a.currentTarget=c,e=ff(f,d,!0,a)&&e,a.$g||(e=ff(f,d,!1,a)&&e));if(b)for(g=0;!a.$g&&g2*this.C&&Af(this),!0):!1}; var Af=function(a){if(a.C!=a.A.length){for(var b=0,c=0;b=c.length)throw _.xf;var g=c[b++];return a?g:d[g]}};return g};_.Cf=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)}; var Ef,Ff;_.zf.prototype.Gh=_.M(5,function(a){for(var b=0;bc)return!1;!("undefined"!=typeof _.Gf&&b instanceof _.Gf)&&5b?e+="000":256>b?e+="00":4096>b&&(e+="0");return fh[a]=e+b.toString(16)}),'"')}; _.hh=function(a){var b={},c;for(c in a)b[c]=a[c];return b};_.ih=function(a){for(var b in a)return!1;return!0};_.jh=function(a,b){_.ef.call(this);this.B=a||1;this.A=b||_.r;this.C=(0,_.t)(this.ZJ,this);this.D=(0,_.ua)()};_.u(_.jh,_.ef);_.h=_.jh.prototype;_.h.enabled=!1;_.h.Jd=null;_.h.setInterval=function(a){this.B=a;this.Jd&&this.enabled?(_.kh(this),this.start()):this.Jd&&_.kh(this)}; _.h.ZJ=function(){if(this.enabled){var a=(0,_.ua)()-this.D;0=e&&(e+=32);65<=f&&90>=f&&(f+=32);if(e!=f)return!1}return!0};dk=null; _.ek=function(a){if(null===dk){var b=_.E("client/headers/response");b||(b=_.E("googleapis/headers/response"));dk=_.bk(b)}if(null!=dk){if(dk.hasOwnProperty(a))return!0;for(var c in dk)if(dk.hasOwnProperty(c)&&_.ck(c,a))return!0}return!1}; _.fk=function(a){a=String(a||"").split("\x00").join("");for(var b=[],c=0,d=a.length;c=f&&c+1=k&&(e+=g,f=65536+(f-55296<<10)+(k-56320),++c)}if(!(0<=f&&1114109>=f)||55296<=f&&57343>=f||64976<=f&&65007>=f||65534==(f&65534))f=65533,e=String.fromCharCode(f);g=!(32<=f&&126>=f)||" "==e||":"==e||"\\"==e;"%"==e&&(c+2>=d?g=!0:(k=16*(0,window.parseInt)(a.charAt(c+1),16)+(0,window.parseInt)(a.charAt(c+ 2),16),0<=k&&255>=k?(f=k,e=0==f?"":"%"+(256+k).toString(16).toUpperCase().substr(1),c+=2):g=!0));g&&(e=(0,window.encodeURIComponent)(e),1>=e.length&&(0<=f&&127>=f?e="%"+(256+f).toString(16).toUpperCase().substr(1):(f=65533,e=(0,window.encodeURIComponent)(String.fromCharCode(f)))));b.push(e)}a=b.join("");a=a.split("#")[0];a=a.split("?");b=a[0].split("/");e=[];c=0;for(d=b.length;c");c=c.join("")}c=a.createElement(c);d&&(_.la(d)?c.className=d:_.ja(d)?c.className=d.join(" "):_.Cg(c,d));2a.clientWidth||a.scrollHeight>a.clientHeight||"fixed"==c||"absolute"==c||"relative"==c))return a;return null}; _.gs=function(a){var b,c=_.Hg(a),d=_.cs(a,"position"),e=_.Qd&&c.getBoxObjectFor&&!a.getBoundingClientRect&&"absolute"==d&&(b=c.getBoxObjectFor(a))&&(0>b.screenX||0>b.screenY),f=new _.Fr(0,0),g;b=c?_.Hg(c):window.document;g=!_.N||_.je(9)||_.Kr(_.Qr(b))?b.documentElement:b.body;if(a==g)return f;if(a.getBoundingClientRect)b=es(a),a=_.Jr(_.Qr(c)),f.x=b.left+a.x,f.y=b.top+a.y;else if(c.getBoxObjectFor&&!e)b=c.getBoxObjectFor(a),a=c.getBoxObjectFor(g),f.x=b.screenX-a.screenX,f.y=b.screenY-a.screenY;else{b= a;do{f.x+=b.offsetLeft;f.y+=b.offsetTop;b!=a&&(f.x+=b.clientLeft||0,f.y+=b.clientTop||0);if(_.Rd&&"fixed"==_.ds(b)){f.x+=c.body.scrollLeft;f.y+=c.body.scrollTop;break}b=b.offsetParent}while(b&&b!=a);if(_.Pd||_.Rd&&"absolute"==d)f.y-=c.body.offsetTop;for(b=a;(b=_.fs(b))&&b!=c.body&&b!=g;)f.x-=b.scrollLeft,_.Pd&&"TR"==b.tagName||(f.y-=b.scrollTop)}return f}; _.is=function(a,b){var c=new _.Fr(0,0),d=_.Tr(_.Hg(a)),e=a;do{var f=d==b?_.gs(e):_.hs(e);c.x+=f.x;c.y+=f.y}while(d&&d!=b&&(e=d.frameElement)&&(d=d.parent));return c}; _.hs=function(a){var b;if(a.getBoundingClientRect)b=es(a),b=new _.Fr(b.left,b.top);else{b=_.Jr(_.Qr(a));var c=_.gs(a);b=new _.Fr(c.x-b.x,c.y-b.y)}if(_.Qd&&!_.he(12)){i:{c=_.cd("transform");if(void 0===a.style[c]&&(c=Xr()+_.Vr(c),void 0!==a.style[c])){c=_.Yr()+"-transform";break i}c="transform"}a=(a=_.cs(a,c)||_.cs(a,"transform"))?(a=a.match(js))?new _.Fr((0,window.parseFloat)(a[1]),(0,window.parseFloat)(a[2])):new _.Fr(0,0):new _.Fr(0,0);a=new _.Fr(b.x+a.x,b.y+a.y)}else a=b;return a}; _.ms=function(a,b,c){if(b instanceof _.Er)c=b.height,b=b.width;else if(void 0==c)throw Error("K");a.style.width=_.ks(b,!0);_.ls(a,c)};_.ks=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a};_.ls=function(a,b){a.style.height=_.ks(b,!0)};_.os=function(a){var b=ns;if("none"!=_.cs(a,"display"))return b(a);var c=a.style,d=c.display,e=c.visibility,f=c.position;c.visibility="hidden";c.position="absolute";c.display="inline";a=b(a);c.display=d;c.position=f;c.visibility=e;return a}; ns=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=_.Rd&&!b&&!c;return _.ea(b)&&!d||!a.getBoundingClientRect?new _.Er(b,c):(a=es(a),new _.Er(a.right-a.left,a.bottom-a.top))};_.qs=function(a){var b=_.Qr(void 0),c=null,d=b.A;_.N&&d.createStyleSheet?(c=d.createStyleSheet(),_.ps(c,a)):(d=_.yg(b.A,"head",void 0,void 0)[0],d||(c=_.yg(b.A,"body",void 0,void 0)[0],d=b.T("head"),c.parentNode.insertBefore(d,c)),c=b.T("style"),_.ps(c,a),b.appendChild(d,c));return c}; _.ps=function(a,b){_.N&&_.ea(a.cssText)?a.cssText=b:a.innerHTML=b};_.rs=_.Qd?"MozUserSelect":_.Rd?"WebkitUserSelect":null;js=/matrix\([0-9\.\-]+, [0-9\.\-]+, [0-9\.\-]+, [0-9\.\-]+, ([0-9\.\-]+)p?x?, ([0-9\.\-]+)p?x?\)/; _.Nu=function(a){if(8192>a.length)return String.fromCharCode.apply(null,a);for(var b="",c=0;c>4);64!=k&&(d.push(g<<4&240|k>>2),64!=l&&d.push(k<<6&192|l))}return d}; _.Tu=function(){if(!_.Ou){_.Ou={};Pu={};Qu={};Ru={};for(var a=0;65>a;a++)_.Ou[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(a),Pu[_.Ou[a]]=a,Qu[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(a),Ru[Qu[a]]=a,62<=a&&(Pu["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(a)]=a,Ru["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(a)]=a)}}; _.Vu=function(a){this.A=a};_.Vu.prototype.toString=function(){return this.A};_.Wu=function(){_.te.call(this);this.A=[];this.B={}};_.u(_.Wu,_.te);_.h=_.Wu.prototype;_.h.Wv=1;_.h.ln=0;_.h.subscribe=_.q(29);_.h.Af=function(a){if(0!=this.ln)return this.C||(this.C=[]),this.C.push(a),!1;var b=this.A[a];if(b){var c=this.B[b];c&&_.se(c,a);delete this.A[a];delete this.A[a+1];delete this.A[a+2]}return!!b}; _.h.lm=function(a,b){var c=this.B[a];if(c){this.ln++;for(var d=Array(arguments.length-1),e=1,f=arguments.length;e":(c=dv(e),d+=">"+_.sg(c)+"",c=c.Kf());(b=b&&b.dir)&&(/^(ltr|rtl|auto)$/i.test(b)?c=0:c=null);b=_.rf(d,c);a.innerHTML=_.sg(b);a=a.firstChild;b=a.style[_.cd("transition")];return""!=("undefined"!==typeof b?b:a.style[_.Zr(a,"transition")]||"")}); var jv,kv,lv,nv,ov,pv,qv,sv,uv,vv,wv,xv,yv,zv,Av,Bv,Ev,Fv,Gv,Hv,Iv,Jv,Kv,Nv,Rv,Uv,Xv,Wv,Yv,Zv,Sv,bw,gw,$v,iw,hw,lw,fw,Pv,aw;_.iv=function(a){var b=_.sj(a);if(!b)return new _.aj("G_USERSTATE_");a=["G_USERSTATE_",_.fj&&b.xb?"S":"H",b.sd].join("");var c=_.nj[a];c||(c={wH:63072E3},_.Pa(_.uj(b),c),c=new _.Yi(a,c),_.nj[a]=c,b=c.bg(),"undefined"!==typeof b&&null!==b&&(window.document.cookie=a+"=; expires=Thu, 01 Jan 1970 00:00:01 GMT; path=/",c.write(b)));return c}; jv=function(a){a=_.sj(a);if(!a||a.xb&&!_.fj)return null;var b=["G_AUTHUSER_",_.fj&&a.xb?"S":"H",a.sd].join(""),c=_.mj[b];c||(c=new _.gj(b,_.uj(a)),_.mj[b]=c);return c};kv=function(a){if(!a)return[];a=a.split("=");return a[1]?a[1].split("|"):[]};lv=function(a){return"true"===String(a.immediate)};_.mv=function(a){a=jv(a.g_user_cookie_policy);_.hb("googleapis.config/sessionIndex",null);a.clear()}; nv=function(a){if(!a)return null;var b,c,d=_.hj(a);_.cj.iterate(function(a){var f=_.jj(a);f&&f.Ac&&f.vu===d&&(!b||f.xb&&!b.xb||f.xb==b.xb&&f.sd>b.sd)&&(b=f,c=a)});return c};ov=function(a,b){for(var c=a.split(" "),d=b.split(" "),e=_.Ka(),f=0,g=d.length;fb.sd)b=e,c=d}});var d=a&&_.hj(a);if(null!==c){var e;_.gj.iterate(function(a,c){var f=_.jj(a);f&&f.Ac&&(d&&f.vu!=d||f.xb==b.xb&&f.sd==b.sd&&(e=c))});if(e){var f=qv(e);a=f&&f.mJ[Number(c)];f=f&&f.uu;if(a)return{ll:c,NT:a,uu:f}}}return null};_.Dv=function(a){_.Fb(a)&&_.Jb(a)};Ev=0;Fv=!1;Gv=!1;Hv=[];Iv={};Jv={};Kv={};_.Lv=null; _.Mv=function(a){var b=_.Cv;return function(c){if(this.f==b&&this.t==_.K.Bg(this.f)&&this.origin==_.K.Pf(this.f))return a.apply(this,arguments)}};_.Ov=function(a){null===Hv?a&&a():Nv(a)}; Nv=function(a){a&&Hv.push(a);a=_.Cv;var b=window.document.getElementById(a),c=(new Date).getTime();if(b){if(Ev&&6E4>c-Ev)return;b.parentNode.removeChild(b);if(/Firefox/.test(window.navigator.userAgent))try{window.frames[a]=void 0}catch(d){}Pv();a=_.Cv}Ev=c;var e=String(2147483647*(0,_.Kj)()|0),b=_.E("oauth-flow/proxyUrl")||_.E("oauth-flow/relayUrl");if(_.Qv())_.Lv=_.mm.Se({where:_.J.Ul(),url:b,id:a,attributes:{style:{width:"1px",height:"1px",position:"absolute",top:"-100px"}},dontclear:!0});else{var b= [b,"?parent=",(0,window.encodeURIComponent)(_.Ii.Ca(window.location.href)),"#rpctoken=",e,"&forcesecure=1"].join(""),c=_.J.Ul(),f=_.J.Ro({name:a,id:a});f.src=b;f.style.width="1px";f.style.height="1px";f.style.position="absolute";f.style.top="-100px";f.tabIndex="-1";c.appendChild(f);_.K.Ak(a)}Rv("oauth2relayReady",e,function(){_.Qv()?_.Lv.kg("oauth2relayReady"):_.K.kg("oauth2relayReady:"+e);var a=Hv;if(null!==a){Hv=null;for(var b=0,c=a.length;b=b.G&&b.cancel())}this.V?this.V.call(this.R,this):this.U=!0;this.B||this.Ll(new _.kg)}};_.jg.prototype.Y=function(a,b){this.K=!1;lg(this,a,b)}; var lg=function(a,b,c){a.B=!0;a.C=c;a.D=!b;mg(a)},og=function(a){if(a.B){if(!a.U)throw new ng;a.U=!1}};_.h=_.jg.prototype;_.h.mc=function(a){og(this);lg(this,!0,a)};_.h.Ll=function(a){og(this);lg(this,!1,a)};_.h.Nb=function(a,b){return this.Df(a,null,b)};_.h.Df=function(a,b,c){this.F.push([a,b,c]);this.B&&mg(this);return this};_.h.then=function(a,b,c){var d,e,f=new _.$f(function(a,b){d=a;e=b});this.Df(d,function(a){a instanceof _.kg?f.cancel():e(a)});return f.then(a,b,c)};_.Xf(_.jg); _.jg.prototype.N=_.q(6); var pg=function(a){return(0,_.jd)(a.F,function(a){return _.Xc(a[1])})},mg=function(a){if(a.M&&a.B&&pg(a)){var b=a.M,c=qg[b];c&&(_.r.clearTimeout(c.la),delete qg[b]);a.M=0}a.A&&(a.A.G--,delete a.A);for(var b=a.C,d=c=!1;a.F.length&&!a.K;){var e=a.F.shift(),f=e[0],g=e[1],e=e[2];if(f=a.D?g:f)try{var k=f.call(e||a.R,b);_.ea(k)&&(a.D=a.D&&(k==b||k instanceof Error),a.C=b=k);_.Yf(b)&&(d=!0,a.K=!0)}catch(l){b=l,a.D=!0,pg(a)||(c=!0)}}a.C=b;d&&(k=(0,_.t)(a.Y,a,!0),d=(0,_.t)(a.Y,a,!1),b instanceof _.jg?(b.Df(k, d),b.ya=!0):b.then(k,d));c&&(b=new rg(b),qg[b.la]=b,a.M=b.la)},ng=function(){_.Jf.call(this)};_.u(ng,_.Jf);ng.prototype.message="Deferred has already fired";ng.prototype.name="AlreadyCalledError";_.kg=function(){_.Jf.call(this)};_.u(_.kg,_.Jf);_.kg.prototype.message="Deferred was canceled";_.kg.prototype.name="CanceledError";var rg=function(a){this.la=_.r.setTimeout((0,_.t)(this.B,this),0);this.A=a};rg.prototype.B=function(){delete qg[this.la];throw this.A;};var qg={}; _.et=function(a,b,c,d){return _.dd.splice.apply(a,_.Hd(arguments,1))};_.ft=function(a,b,c,d,e){if(_.ja(b)){for(var f=0;fb)throw Error("M`"+b);a.Zg=b}else a.Zg=null;return a};_.Ut.prototype.getPath=function(){return this.Sj};_.Ut.prototype.setPath=function(a,b){_.gu(this);this.Sj=b?fu(a,!0):a;return this};_.Zt=function(a,b,c){_.gu(a);b instanceof _.$t?(a.A=b,hu(a.A,a.Jg)):(c||(b=au(b,iu)),a.A=new _.$t(b,0,a.Jg));return a};_.Ut.prototype.Ia=function(a,b){return _.Zt(this,a,b)};_.Ut.prototype.Fe=function(){return this.A.toString()}; _.ju=function(a,b,c){_.gu(a);a.A.set(b,c);return a};_.Ut.prototype.Hd=function(a){return this.A.get(a)};_.Ut.prototype.C=function(){return this.Ep};_.Ut.prototype.B=function(a,b){_.gu(this);this.Ep=b?fu(a):a;return this};_.gu=function(a){if(a.ix)throw Error("N");};_.ku=function(a){return a instanceof _.Ut?a.clone():new _.Ut(a,void 0)};fu=function(a,b){return a?b?(0,window.decodeURI)(a):(0,window.decodeURIComponent)(a):""}; au=function(a,b,c){return _.la(a)?(a=(0,window.encodeURI)(a).replace(b,lu),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null};lu=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)};bu=/[#\/\?@]/g;du=/[\#\?:]/g;cu=/[\#\?]/g;iu=/[\#\?@]/g;eu=/#/g;_.$t=function(a,b,c){this.A=a||null;this.B=!!c}; nu=function(a){if(!a.Ab&&(a.Ab=new _.zf,a.dd=0,a.A))for(var b=a.A.split("&"),c=0;cb?1:a=c?a:a=-1a?"-":0<=b.indexOf("+")?"+":0<=b.indexOf(" ")?" ":"";0<=a&&(d=f+d);if((0,window.isNaN)(c)||d.length>=c)return d;d=(0,window.isNaN)(e)?Math.abs(a).toString():Math.abs(a).toFixed(e);a=c-d.length-f.length;return d=0<=b.indexOf("-",0)?f+d+_.ad(" ",a):f+_.ad(0<=b.indexOf("0", 0)?"0":" ",a)+d},d:function(a,b,c,d,e,f,g,k){return _.nL.f((0,window.parseInt)(a,10),b,c,d,0,f,g,k)}};_.nL.i=_.nL.d;_.nL.u=_.nL.d; var oL=function(a){a=_.hh(a);_.Ld(a,function(b,c){_.ek(c)&&(a[c]=b)});return a},pL=function(a,b){if(null==b)return b;var c=String(b);c.match(/^\/\/.*/)&&(c=("http:"==window.location.protocol?"http:":"https:")+c);c.match(/^\/([^\/].*)?$/)&&window.location.host&&String(window.location.protocol).match(/^https?:$/)&&(c=window.location.protocol+"//"+window.location.host+c);var d=c.match(/^(https?:)(\/\/)?(\/([^\/].*)?)?$/i);d&&window.location.host&&String(window.location.protocol).match(/^https?:$/)&& (c=d[1]+"//"+window.location.host+(d[3]||""));c=c.replace(/^(https?:\/\/[^\/?#@]*)\/$/i,"$1");c=c.replace(/^(http:\/\/[-_a-z0-9.]+):0*80([\/?#].*)?$/i,"$1$2");c=c.replace(/^(https:\/\/[-_a-z0-9.]+):0*443([\/?#].*)?$/i,"$1$2");c.match(/^https?:\/\/[-_a-z0-9.]*[-_a-z][-_a-z0-9.]*$/i)&&(c=c.toLowerCase());d=_.E("client/rewrite");_.Wc(d)&&Object.prototype.hasOwnProperty.call(d,c)?c=String(d[c]||c):(c=c.replace(/^(https?):\/\/www\.googleapis\.com$/,"$1://content.googleapis.com"),c=c.replace(/^(https?):\/\/www-(googleapis-[-_a-z0-9]+\.[-_a-z0-9]+\.google\.com)$/, "$1://content-$2"),c.match(/^https?:\/\/content(-[-_a-z0-9.]+)?\.googleapis\.com$/)||(c=c.replace(/^(https?):\/\/([-_a-z0-9]+(\.[-_a-z0-9]+)?\.googleapis\.com)$/,"$1://content-$2")));a&&(d=_.E("client/firstPartyRewrite"),_.Wc(d)&&Object.prototype.hasOwnProperty.call(d,c)?c=String(d[c]||c):(c=c.replace(/^(https?):\/\/content\.googleapis\.com$/,"$1://clients6.google.com"),c=c.replace(/^(https?):\/\/content-([-a-z0-9]+)\.([-a-z0-9]+)\.googleapis\.com$/,"$1://$2-googleapis.$3.google.com"),c=c.replace(/^(https?):\/\/content-([-a-z0-9]+)\.googleapis\.com$/, "$1://$2.clients6.google.com")));return c},qL={error:{code:-1,message:"A network error occurred and the request could not be completed."}},rL=function(a){return new _.$f(function(b,c){c(a)})},sL=function(a){a=_.hh(a);_.lb(a,function(b,c){_.ja(b)&&(a[c]=b.join(", "))});return a},tL=function(a,b,c){c||((c=_.E("googleapis.config/proxy"))&&(c=String(c).replace(/\/static\/proxy\.html$/,"")||"/"),c=String(c||""));c||(c=_.E("googleapis.config/root"),b&&(c=_.E("googleapis.config/root-1p")||c),c=String(c|| ""));c=String(pL(b,c)||c);return a=_.xh(c,a)},uL=function(a,b,c,d){_.Fh.call(this);this.rb=a;this.fb=b;this.Ha=c;this.vb=d;this.M=null};_.u(uL,_.Fh); uL.prototype.then=function(a){this.M||(this.M=(new _.$f(function(a,c){this.P("error",(0,_.t)(function(){c(vL(this))},this));this.P("success",(0,_.t)(function(){a(vL(this))},this));this.send(this.rb,this.fb,this.Ha,this.vb)},this)).then(function(a){a.headers=oL(a.headers);return a},function(a){return a.status?(a.headers=oL(a.headers),rL(a)):rL({result:qL,body:'{"error":{"code":-1,"message":"A network error occurred and the request could not be completed."}}',headers:null,status:null,statusText:null})})); return this.M.then.apply(this.M,arguments)}; var vL=function(a){var b,c=a.getStatus(),d=_.Uh(a);204==c?b=!1:b=""==a.Vp()?(0,_.dc)(d):_.Vh(a);for(var e={},f=a.getAllResponseHeaders().split("\r\n"),g=0;ge))if(d in zL)d=zL[d];else if(d in AL)d=zL[d]=AL[d];else{e=d;g=d.charCodeAt(0);if(31g)e=d;else{if(256>g){if(e="\\x",16>g||256g&&(e+="0");e+=g.toString(16).toUpperCase()}d= zL[d]=e}g=d}b[f]=g}b.push('"');return b.join("")}; new _.ef;var JL=function(a){this.A={};for(var b=0;b=b.length)this.F.push("|"+c);else for(var d=b.length,e=Math.ceil(d/3800),f=0,g=1;fa-kM?10:100)},jM),zM=function(){kM=(0,_.ua)();lM&&window.clearTimeout(lM);lM=window.setTimeout(yM,10)},tM=function(a,b){this.C=a;this.B=b;this.A=0};tM.prototype.send=function(a){this.A=++this.A%2;a=this.C+"#"+this.A+(0,window.encodeURIComponent)(a);try{_.Rd?this.B.location.href=a:this.B.location.replace(a)}catch(b){}zM()}; var rM=function(a,b,c){this.D=a;this.B=b;this.C=c;this.A=this.B.location.href.split("#")[0]+"#INITIAL";xM.push(this);zM()};rM.prototype.nn=function(){var a=this.B.location.href;if(a!=this.A){this.A=a;if(a=a.split("#")[1])a=a.substr(1),this.C((0,window.decodeURIComponent)(a));return!0}return!1}; var AM=function(a){this.C=a;this.D=!1;this.promise={then:(0,_.t)(function(a,c,d){this.D||(this.D=!0);this.B&&!this.A?this.C.resolve(this.B):this.A&&!this.B&&this.C.reject(this.A);return this.C.promise.then(a,c,d)},this)}};AM.prototype.resolve=function(a){this.D?this.C.resolve(a):this.B||this.A||(this.B=a)};AM.prototype.reject=function(a){this.D?this.C.reject(a):this.B||this.A||(this.A=a)}; var BM=function(a){GL.call(this,BM.prototype.G);if(!a||"object"!=typeof a&&"string"!=typeof a)throw new EL("Invalid request parameters");var b;_.la(a)?b={path:a}:b=a;if(!b.path)throw new EL('Missing required parameter: "path"');this.A={path:b.path,method:b.method||"GET",params:b.params||{},headers:b.headers||{},body:b.body,root:b.root,responseType:b.responseType};this.B=b.bS||"auto"};_.u(BM,GL);BM.prototype.Wh=function(){return this.A}; BM.prototype.tk=function(){var a=this.A,b=a.headers||{},c=b,d=a.applicationName||null,e=a.clientName||null,f=a.clientVersion||null,f=f||"0.1",e=e||"google-api-javascript-client",g=[];d&&(g.push(d),g.push(" "));g.push(e);f&&(g.push("/"),g.push(f));c["X-JavaScript-User-Agent"]=g.join("");c=b["Content-Type"];a.body&&!c&&(c="application/json",b["Content-Type"]=c);"application/json"!=c||a.params.alt||(a.params.alt="json");(c=a.body||null)&&_.Wc(c)&&(a.body=(0,_.cc)(c));a.key=a.id;b=_.Mj.bl(b,void 0,this.B); c=_.Ej(b);CM(b);(b=_.Pj.key)&&!a.params.key&&(a.params.key=b);(b=String(a.path||"").match(/^(https?:\/\/[^\/?#]+)([\/?#].*)?$/i))&&!a.root&&(a.root=String(b[1]),a.path=String(b[2]||"/"),a.path.match(/^\/_ah\/api(\/.*)?$/)&&(a.root+="/_ah/api",a.path=a.path.substr(8)));b=a.params;d=_.fk(a.path);e=String(_.E("googleapis.config/xd3")||"");18<=e.length&&"/static/proxy.html"==e.substring(e.length-18)&&(e=e.substring(0,e.length-18));e||(e="/");f=_.fk(e);if(e!=f)throw Error("G");"/"!=e.charAt(e.length-1)&& (e+="/");d=_.xh(e,d);_.qh(d,"/")&&(d=d.substring(0,d.length-1));d=_.uh(_.wh([d],b));a.path=d;a.root=pL(c,a.root);a.url=tL(a.path,c,a.root)};var FM=function(a){a.tk();a=a.A;return{key:"gapiRequest",params:{id:a.id,key:a.key,url:a.url,path:a.path,httpMethod:a.method,body:a.body||"",headers:a.headers||{},urlParams:{},root:a.root,clientName:DM(),clientVersion:EM()}}}; BM.prototype.execute=function(a){this.A.headers.Authorization||_.xj(void 0,void 0);var b=FM(this);FL(b,function(b,d){var e=b;b.gapiRequest&&(e=b.gapiRequest);e&&e.data&&(e=e.data);var e=e instanceof Array?e[0]:e,f;if(204!=e.status&&e.body)try{f=(0,_.dc)(e.body)}catch(g){}_.E("client/jsonpOverride")&&(f=e);a&&a(f,d)})};BM.prototype.G=function(){var a=FM(this);return _.E("client/cors")&&DL(a)?xL(a):CL(a)}; var GM=//,HM=/^application\/http(;.+$|$)/,IM=function(a,b){if(!a||!b||!_.Na(a,b=b.toLowerCase()))throw new EL("Unable to retrieve header.");return a[b]},LM=function(a,b){for(var c="batch"+String(Math.round(2147483647*(0,_.Kj)()))+String(Math.round(2147483647*(0,_.Kj)())),d={path:"/batch",headers:{"Content-Type":"multipart/mixed; boundary="+c},method:"POST"},c="--"+c,e=[],f=0;f"},c);c.push("");c.push(d.method+" "+d.path);e(d.headers,c);c.push("");d.body&&c.push(d.body);return c.join("\r\n")},NM=function(a,b){var c=MM(a,b),d={};_.Ld(c,function(a,b){d[b]={result:a.result||a.body,rawResult:(0,_.cc)({id:b,result:a.result||a.body}),id:b}});return d},MM=function(a, b){a=(0,_.$c)(a);_.qh(a,"--")&&(a=a.substring(0,a.length-2));for(var c=a.split(b),d=_.Ka(),e=0;ethis.A.length||(_.kb(this.A,function(a){a.request.tk()}),a=SM(this,a),LM(this.A,this.B).execute(a))}; QM.prototype.G=function(){if(1>this.A.length)return new _.$f(function(a){a({})});_.kb(this.A,function(a){a.request.tk()});var a=LM(this.A,this.B),b=(0,_.t)(function(a){TM(a);if(0!=IM(a.headers,"Content-Type").indexOf("multipart/mixed"))throw new EL("The response's Content-Type is not multipart/mixed.");var b=IM(a.headers,"Content-Type").split("boundary=")[1];if(!b)throw new EL("Boundary not indicated in response.");b=MM(a.body,"--"+b);a.result=b||{};for(var c=0;c=e.status){var g=IM(e.headers,"Content-Type").split("boundary=")[1];if(!g)throw new EL("Boundary not indicated in response.");g=NM(e.body,"--"+g);for(e=0;e